home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 154
/
154.d81
/
b.chess quarto
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
2KB
|
63 lines
10 poke56,48:poke55,0:clr
20 dv=peek(186):ifdv<8thendv=8
22 poke53281,0:poke53280,0:print"[147]"
24 ifpeek(1021)=250then40
26 poke1021,250
28 gosub60000
30 sys57812"chess font",dv,0:poke780,0:poke781,0:poke782,56:sys65493
40 sys57812"chess sprites",dv,0:poke780,0:poke781,0:poke782,48:sys65493
50 print"[147]";:poke53280,0
60 poke53281,10:poke53272,31
70 print" [176][192][192][192][174] [174] [176] [176][192][192][192][174] [176][192][192][192][174] [176][192][192][192][174]
71 [153]" (NULL) -tantantan< -tantan /tantantan^ /tantantan^
72 print"[144] [173][192][192][192][189] [189] [173] [173][192][192][192][189] [173][192][192][192][189] [173][192][192][192][189]
73 [153]
74 [153]" ortantantan^ ^ or ortantantan^ ortantantan^ ortan=tan^ ortantantan^
75 print" [221] [221] [221] [221] [171][192][192][192][179] [171][192][178][192][189] [221] [221] [221]
76 [153]"stop /tantantan(NULL) /tantantanexp exp / exp /tantantanexp > /tantantanexp
80 print"[144] [198]our [208]uzzles by [195]arl [194]evington
100 [151]214,12:[153]:[153]"stop (1stop) lenorner the (NULL)ing
110 print" (2[144]) [203]night's [209]uadrille
120 [153]" (3stop) (NULL)ix (NULL)awns
130 print" (4[144]) [203]nights' [197]xchange
140 [153]" (5stop) (NULL)uit to (NULL)(NULL)atnstr$(NULL)(NULL)atn(NULL)
200 poke198,0
210 geta$
220 ifa$<"1"ora$>"5"then210
230 onval(a$)goto240,250,260,270,40000
240 f$="king puzzle":goto280
250 f$="knights quad":goto280
260 f$="six pawns":goto280
270 f$="knights ex"
280 print"[147]":poke53281,0:poke214,20:print
282 print" [204]oading, please wait.
290 [153]"stopload"[199](34)f$[199](34)",",dv
292 [153]"run"
294 [151]631,13:[151]632,13:[151]198,2:[128]
10000 d[178][194](186):n$[178]"b.chess quarto":[159]15,d,15,"s0:"[170]n$:[160]15:[148]n$,d:[128]
40000 [153]"load":[151]53281,0:[151]53280,0
40002 [129]i[178]8[164]29:[151]820[170]i,i:[130]:[139]dv[177]8[175]dv[179]30[167][151]828,dv:[151]820[170]dv,8
40010 a$[178]"presenter":[141]40030:a$[178]"hello connect":[141]40030
40020 [153]"load":[151]53272,23:[151]186,8:[151]2048,0:[151]44,8:[151]43,1:[128]
40030 [129]j[178]8[164]29:i[178][194](820[170]j):[139]i[178]14[167][130]
40040 [160]2:[159]2,i,2:[160]2:[139]st[167]40060
40050 [160]15:[159]15,i,15,"r0:"[170]a$[170]"="[170]a$:[132]15,er:[160]15:[139]er[178]63[167]40070
40060 [130]:[142]
40070 a$[178]"hello connect":q$[178][199](34):[151]646,[194](53281):[153]"load":[151]53272,23
40080 [153]"loadp(NULL)2048,0:p(NULL)44,8:p(NULL)43,1:p(NULL)56,160:p(NULL)55,0:clr:l(NULL)"q$a$q$","i
40090 [153]"run:":[151]631,13:[151]632,13:[151]198,2:[128]
60000 [153]"load":z$[178]" print# ":[151]214,10:[153]
60010 [153]" listfrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefre":[129]i[178]0[164]11:[153]z$:[130]
60020 [153]" pokeposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposprint#"
60030 z$(0)[178]"len left$ val (NULL) (NULL) (NULL) (NULL) atn (NULL) (NULL) (NULL)
60040 z$(2)="by [195]arl [194]evington
60050 z$(4)[178]"(len) 1997 by mid$ & asc (NULL)ublishing, right$nc."
60060 z$(6)[178]"(NULL)his program is not shareware
60070 z$(7)="or in the public domain."
60080 z$(9)="1-800-594-3370 or 1-318-221-8718
60090 [151]214,12:[153]
60092 [129]i[178]0[164]9:[153][163]20[171]([195](z$(i))[173]2))""z$(i):[130]
60094 tq[178]0:[151]53370,0
60096 tq[178]tq[170]1:[161]a$:[139]a$[178]""[175]tq[179]200[167]60096
60098 [151]53371,0:[142]